#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
@file:urls.py
@time:2017/6/26 0026 14:11
"""
from django.conf.urls import url
from .views import hostGroupIndex,addHostGroup,editHostGroup,delHostGroup
from .views import hostIndex,addHost,delHost,getHostDetail,addManagerUser,delManagerUser

urlpatterns = [
    #hostgroup
    url(r'^hostgroupindex/', hostGroupIndex, name='hostgroupindex'),
    url(r'^addhostgroup/',addHostGroup,name='addhostgroup'),
    url(r'^delhostgroup/',delHostGroup,name='delhostgroup'),
    url(r'^edithostgroup/',editHostGroup,name='edithostgroup'),
    #host
    url(r'^hostindex/',hostIndex,name='hostindex'),
    url(r'^addhost/',addHost,name='addhost'),
    url(r'^delhost/',delHost,name='delhost'),
    # url(r'^edithost/',editHost,name='edithost'),
    url(r'^gethostdetail/',getHostDetail,name='gethostdetail'),
    url(r'^addmanageruser/',addManagerUser,name='addmanageruser'),
    url(r'^delmanageruser/',delManagerUser,name='delmanageruser'),
]